<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../common/common.jsp" %>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>首页</title>
    <%@ include file="../../common/common-resource.jsp"%>
</head>

<body>
<div style="padding:0px; margin:0px;">
 <ul class="breadcrumb" style="  margin:0px; " >
    	<li><a href="#">招生管理</a></li>
        <li>招生线索</li>
    </ul>
</div>
<form class="form-inline" action="/recruitstudent/recruitstudent/query" method="post" >
<div class="row alert alert-info"  style="margin:0px; padding:3px;" >

     <div class="form-group">
         <label class="" for="activename">学员姓名：</label>
        <input type="text" class="form-control" id="activename" placeholder="请输入学员姓名" name="name">
      </div>
    <div class="form-group">
         <label class="" for="activename">学员意向：</label>
		 <select name="intention" class="form-control">
         	<option>请选择</option>
         	<option value="-1">无</option>
            <option value="2">意向强</option>
         </select>	
      </div>
    <input type="submit"   class="btn btn-danger"     value="查询"/>
    <a  class="btn btn-success"  href="/recruitstudent/recruitstudent/toAdd">添加学员</a>
</div>
</form>
<div class="row" style="padding:15px; padding-top:0px; ">
	<table class="table  table-condensed table-striped">
    	<tr>
        	<th>编号</th>
            <th>姓名</th>
            <th>性别</th>
            <th>年龄</th>
            <th>手机号码</th>
            <th>电子邮件</th>
            <th>所在院校</th>
            <th>操作</th>
        </tr>

        <c:forEach items="${list}" var="student">
            <tr>
                <td>${student.id}</td>
                <td>${student.name}</td>
                <td>${student.sex}</td>
                <td>${student.age}</td>
                <td>${student.cellphone}</td>
                <td>${student.email}</td>
                <td>${student.college}</td>
                <th>
                    <a href="/recruitstudent/recruitstudent/toChange">修改</a>
                    <a href="/recruitstudent/recruitstudent/delRecruitStudent?id=${student.id}">删除</a>
                </th>
            </tr>
        </c:forEach>
    </table>
</div>
</body>
</html>
